package com.ele.shared.action;

import com.ele.model.Word;

import java.util.List;

public class SetWordsAction extends Action<List<Word>> {

    private List<Word> value;

    public SetWordsAction(List<Word> value) {
        setValue(value);
    }

    public SetWordsAction() {
    }

    @Override
    public void setValue(List<Word> value) {
        this.value = value;
    }

    @Override
    public List<Word> getValue() {
        return value;
    }
}
